CGI class * Designed to read the environment variables created by web server and will consume the data and make it easily accessible to program with.
package: cgi module cgi.cgi File: cgi.d Description: utility d module that contains Classes to build cgi applications.
CGIFILE class is a data structure that describes the way a file is reprensented from the web server. (apache)
CGIVALS class is a data structure that represents the value key pairs that a cgi query string represents. IE. ("?foo=bar&foobar=be") where this query string has two CGIVALs contained within. this class allows us to store variables and logically describe what those variables are and assign a mode.
see it's a COOKIE class and it's good enough for me.
Abritrary modes that cgi variable can have
Abritrary modes or states that a cgi variable could be
this enumeration allows us to describe the type of content the cgi class will be returning and allows us to programatically control the behavior of how the what the application is writing to stdout. I.E. if content is generally text/html generate the html headers * or if we are a text/plain (possibly a .csv or .txt) file behave this way.